﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mySonCard.aspx.cs" Inherits="Mobile_mySonCard" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <div>
        <section data-role="page" id="mySonCard_main">
            <div data-role="content" id="mySonCard_content">
                                            <script>
                                                function opens(url) {
                                                    window.location.href = url;
                                                }
                            </script>
                 <div style="text-align:center;font-size:12px;display:none;" runat="server" id="msg"><img src="images/sc.png"  style="width:30%;margin-top:150px;"/><br/><span id="msgText" style="font-size:18px;color:#aaa;">暂无子卡信息</span></div>
 <asp:Repeater runat="server" ID="rptShopList" >
                    <ItemTemplate>
                        <div data-role="collapsible">
                            <h3>
                                <div class="businessleft"></div>
                                <div class="businessright">
                                    <span>子卡卡号：<%#Eval("memcard") %></span>
                                    <span>余额：<%#Eval("memmoney","{0:f2}") %></span>
                                </div>
                            </h3>

                            <div style="font-size:13px;">
                                <div><p>使用状态：<%#Convert.ToInt32(Eval("boll"))==0&&Eval("MemMobile")==""? "未使用</p><button onclick=\"opens('binDingCard.aspx?id="+Eval("memid")+"')\">分享给好友</button>":"已使用</p>"%></div>
                                <div><p><%#Convert.ToInt32(Eval("boll"))==0&&Eval("MemMobile")==""? "":"<p>子卡用户："+Eval("memname")+"</p>"%></div>
                                <div><p><%#Convert.ToInt32(Eval("boll"))==0&&Eval("MemMobile")==""? "":"<p>子卡电话："+Eval("MemMobile")+"</p>"%></div>
                                </div>
                        </div>
        </ItemTemplate>
     </asp:Repeater>

            </div>
        </section>
    </div>
</body>
</html>
